package deom2;

public class test {
    public static void drawto(Ishape ishape){
        ishape.draw();
    }
    public static void main(String[] args) {
               Ishape is=new rect();
               is.draw();
               drawto(new rect());
    }
}
